{#include file="top.php"#}
<div class="body">
    <div class="main">
        <div class="search_box">
            <!--<form id='form1' name='form1' action="{#optimize_url('search', 'member')#}" method='get'>-->
            <span class="title">搜尋</span>
            <div class="box">
                <input type="text" id='find' name='find'  value="{#if empty($find)#}keyword{#else#}{#$find#}{#/if#}" onfocus="find_onfocus(this);" onblur="find_onblur(this);" onkeyup="lookup(this.value,3);"/>
            </div>
            <a href="javascript:void(0);" class="b" onclick="window.location.href='/search-member/'+$('#find').val()"><strong>搜尋</strong></a>
            <div id="autoSuggestionsList" style="width: 558px;"></div>
            <!--</form>-->
        </div>
        <div class="tab_b_box">
            <a href="{#optimize_url('search', 'product','find='|cat:$find)#}">產品</a>
            <a href="{#optimize_url('search', 'event','find='|cat:$find)#}" >活動事件</a>
            <a href="{#optimize_url('search', 'member','find='|cat:$find)#}"  class="curr">會員</a>
            <em class="line"></em>
            <span class="info">共有{#intval($data.pageinfo.total)#}個{#if $find#} “{#$find#}” {#/if#}會員搜尋結果</span>
        </div>
        <div class="result_box">
            <div class="hybox">
                <div class="ul clearfix">
                    {#foreach  from=$data.result item=v key=k#}
                    <span class="list">
                        <span class="infobox">
                            <span class="imgbox"><a href="{#optimize_url('person', 'report','username='|cat:$v.username)#}"><img src='{#$v._photo_url#}' alt='{#$v.username#}' width=56 /></a></span><br>
                            <span class="intro"><a href="{#optimize_url('person', 'report','username='|cat:$v.username)#}" >{#$v.username#}</a></span>
                        </span>
                    </span>
                    {#/foreach#}

                    <span class="list left_fix">&nbsp;</span>
                </div>
            </div>

        </div>

        {#$pagelist#}
    </div>
    <!-- main-->
    <div class="sidebar">

        {#show_block('b2',1,'','sidebar_ad')#}
        {#show_block('b1',2,'','sidebar_function')#}
        {#show_block('b4',0,'','sidebar_workshop')#}
        {#show_block('b11',0,'','sidebar_new_try sidebar_new b_box')#}
        {#show_block('b5',0,'','sidebar_top3 b_box')#}
        {#show_block('b6',0,'','sidebar_facebook')#}
    </div>
    <!-- sidebar -->

</div><!--body-->
{#include file="footer.php"#}
